package com.xunyin.modules.mtstore.vo;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.xunyin.modules.shareorder.bo.OrderDateHour;
import com.xunyin.serializer.BigDecimalSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 作为门店下的房间显示 结果对象
 * </p>
 * Created by xunyinyunshang
 * CopyRight 讯音云商 https://www.tonetn.com
 *
 * @date 2023-4-10
 */
@Data
@ApiModel(description = "作为门店下的房间显示")
public class MtStoreRoomVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "门店ID")
    private Integer storeId;

    private String storeName;

    @ApiModelProperty(value = "房间ID")
    private Integer roomId;

    @ApiModelProperty(value = "房间名称")
    private String storeRoomName;

    @ApiModelProperty(value = "房间主图片")
    private String icon;

    @ApiModelProperty(value = "小时价格")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal price;

    @ApiModelProperty(value = "续单小时价格")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal repeatPrice;

    @ApiModelProperty(value = "推荐人数")
    private String recommended;

    @ApiModelProperty(value = "服务设施ids")
    private String serviceFacIds;

    @ApiModelProperty("多少小时起订,默认1小时起订")
    private Integer startTimeNum;

    private List<Map<String, String>> iconList;

    //private Map<String, List<Integer>> hourList;
    //private Map<String, OrderDateHour> hourList;
    private List<OrderDateHour> hourList;

    /**
     * 包间使用状态，0空闲中，1使用中，2暂停用
     */
    private Integer storeRoomStatus;

    /**
     * 服务结束时间
     */
    private Date serverEndTime;

    private String serverEndTimeStr;

    /**
     * 房间内容图片
     */
    private String images;

    @ApiModelProperty("经度")
    private String latitude;

    @ApiModelProperty("维度")
    private String longitude;

    private Integer distance;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("联系电话")
    private String phone;

    private Boolean checked;

    @ApiModelProperty("状态，A：有效/启用；D：无效")
    private String roomOnlineStatus;

    @ApiModelProperty("套餐列表")
    private String taocanList;

}
